package com.dnxh.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.dnxh.constant.CustomResult;
import com.dnxh.entity.Meeting;
import com.dnxh.entity.request.CreateMeetingRequest;
import com.dnxh.entity.request.SearchAdminRequest;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author zhiqiu
 * @since 2022 -04-12
 */
public interface MeetingService extends IService<Meeting> {
	
	/**
	 * Create custom result.
	 *
	 * @param request the request
	 * @return the custom result
	 */
	CustomResult create (CreateMeetingRequest request);
	
	/**
	 * Search custom result.
	 *
	 * @param request the request
	 * @return the custom result
	 */
	CustomResult search (SearchAdminRequest request);
	
	/**
	 * Delete custom result.
	 *
	 * @param id the id
	 * @return the custom result
	 */
	CustomResult delete (Long id);
	
	/**
	 * Search meeting name custom result.
	 *
	 * @param id the id
	 * @return the custom result
	 */
	CustomResult searchMeetingName (Long id);
}
